{% include "header.html" %}
<!--greeting message for the user-->
<h1>{{ user.nickname()|e }}, you are in the course {{ course.name|e }}.</h2> 
<br />
<div id="questions">
<!--displays the category questions-->
<h2 id="questionPageInfo">Questions in "{{ category.name|e }}":</h2>
{% for question in questions|reverse %}
	<!--displays the link to the active questions-->	
	{% if question.active %}
		<br />
		<div class="entry"> 
		<span><a id="{{ question.key()|e }}" class="entryHeading" href="/category/{{ category.key()|e }}/question/{{ question.key()|e }}">{{ question.text|e }}</a></span>		
		</div>
	{% endif %}
{% endfor %}
</div>

<!--displays link back to course page questions-->
<br />
<div class="backUp">
<span><a class="entryHeading" href="/course/{{ course.key()|e }}">Back to {{ course.name|e }}</a></span>
</div>
<div class="backUp"> 
<span><a class="entryHeading" href="/">Back to Homepage</a></span>
</div>

<span id="storeCourse" title="{{ course.key()|e }}"></span>
<span id="storeCategory" title="{{ category.key()|e }}"></span>
{% include "footer.html" %}